% Classify a video
% Return: type of video
% Arguments:
%   filename: Name of video file for classification
function [class] = classify(filename)
    features = Process(filename);
    javaaddpath(pwd);
    wekaPath = strcat(pwd,'/java/weka.jar');
    javaaddpath(wekaPath);
    o = Classify;
    if o.classify(features)==1
        class = 'cartoon';
    else 
        class = 'non-cartoon';
    end